package org.example.offical.doc.rag;

import dev.langchain4j.rag.content.retriever.ContentRetriever;
import dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever;
import dev.langchain4j.service.AiServices;
import org.example.offical.doc.ai.service.AiServiceRAG;

/**
 * @author superMan
 * @since fish_temp_since
 */
public class NativeRag {
    public static void main(String[] args) {
        ContentRetriever contentRetriever = EmbeddingStoreContentRetriever.builder()
                //embeddingStore
                .embeddingStore(null)
                // embeddingModel
                .embeddingModel(null)
                .maxResults(5)
                .minScore(0.75)
                .build();

        EasyRAG.Assistant assistant = AiServices.builder(EasyRAG.Assistant.class)
                // model
                .chatLanguageModel(null)
                .contentRetriever(contentRetriever)
                .build();
    }
}
